#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>

int main()
{
  umask(0);
  // int fd = open("bite",O_WRONLY | O_CREAT | O_TRUNC , 0666);
  // char buffer[50] = "i like linux!";
  // write(fd,buffer,13);
  int fd = open("bite",O_RDONLY);
  char buffer1[20] = {0};
  read(fd,buffer1,13);
  printf("%s",buffer1);
  close(fd);
  return 0;
}


